AmeliaBooking\Application\Services\Reservation\AppointmentReservationService D

Total Complexity 160
Dependencies 31
Dependents 0
Total lines 1,203
Lines of code 772
Logical lines of code 285
Comment lines 224
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
bookSingle()
D
23
43 177
getWooCommerceData()
B
33 19 90
updateStatus()
B
36 17 80
book()
B
40 15 61
checkLimitsPerCustomer()
A
48 15 29
getReservationByPayment()
A
34 10 97
getWooCommerceDataFromArray()
A
37 10 81
getBookingResultByBookingId()
A
40 7 61
updateWooCommerceOrder()
A
50 8 29
getReservationPaymentAmount()
S
51 5 29
getBookingPeriods()
S
54 5 20
isExtraAggregatedPrice()
S
75 2 4
getType()
S
82 1 3
getBookableEntity()
S
74 1 4
isAggregatedPrice()
S
81 1 3
getReservationByBookingId()
S
75 1 4